package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.SpecialpersonDao;
import io.renren.entity.SpecialpersonEntity;
import io.renren.service.SpecialpersonService;



@Service("specialpersonService")
public class SpecialpersonServiceImpl implements SpecialpersonService {
	@Autowired
	private SpecialpersonDao specialpersonDao;
	
	@Override
	public SpecialpersonEntity queryObject(Integer id){
		return specialpersonDao.queryObject(id);
	}
	
	@Override
	public List<SpecialpersonEntity> queryList(Map<String, Object> map){
		return specialpersonDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return specialpersonDao.queryTotal(map);
	}
	
	@Override
	public void save(SpecialpersonEntity specialperson){
		specialpersonDao.save(specialperson);
	}
	
	@Override
	public void update(SpecialpersonEntity specialperson){
		specialpersonDao.update(specialperson);
	}
	
	@Override
	public void delete(Integer id){
		specialpersonDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		specialpersonDao.deleteBatch(ids);
	}
	
}
